]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar-server: Remove unused functions
authorSebastian Keller <skeller@gnome.org>
Wed, 30 Dec 2020 10:01:44 +0000 (11:01 +0100)
committerSebastian Keller <skeller@gnome.org>
Wed, 30 Dec 2020 10:01:44 +0000 (11:01 +0100)
These have been unused since tasks support was dropped when the calendar
integration was moved out of process in e9e30138. GCC did not complain
about this, because the functions were inlined.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1557>

src/calendar-server/gnome-shell-calendar-server.c

index 56cee994d816c8c6588ea880cafd5d6020b1c1d3..61ac92785e29b30f8276f748e07a6ef3f2152e3c 100644 (file)
@@ -220,30 +220,6 @@ get_ical_is_all_day (ECalClient    *cal,
   return retval;
 }
 
-static inline time_t
-get_ical_due_time (ECalClient    *cal,
-                   ICalComponent *icomp,
-                   ICalTimezone  *default_zone)
-{
-  return get_time_from_property (cal,
-                                 icomp,
-                                 I_CAL_DUE_PROPERTY,
-                                 i_cal_property_get_due,
-                                 default_zone);
-}
-
-static inline time_t
-get_ical_completed_time (ECalClient    *cal,
-                         ICalComponent *icomp,
-                         ICalTimezone  *default_zone)
-{
-  return get_time_from_property (cal,
-                                 icomp,
-                                 I_CAL_COMPLETED_PROPERTY,
-                                 i_cal_property_get_completed,
-                                 default_zone);
-}
-
 static CalendarAppointment *
 calendar_appointment_new (ECalClient    *cal,
                           ECalComponent *comp)